package com.geektime.hello.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: DRevelation
 * @Date: 2020/12/28 15:33
 */
@AllArgsConstructor
@Getter
public enum ResultCode {

    /**
     * 成功
     */
    SUCCESS(0, "成功"),
    /**
     * 失败
     */
    FAILURE(1, "失败");


    private final Integer code;
    private final String msg;

}
